package com.pen.changgou.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 日志表
 * 
 * @author yaodao
 * @email lfy@pen.changgou.com
 * @date 2020-11-29 22:19:49
 */
@ApiModel
@Data
@TableName("sys_log")
public class SysLog implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "编号")
	private Long id;
	/**
	 * 
	 */
	@ApiModelProperty(name = "type",value = "")
	private String type;
	/**
	 * 
	 */
	@ApiModelProperty(name = "title",value = "")
	private String title;
	/**
	 * 
	 */
	@ApiModelProperty(name = "serviceId",value = "")
	private String serviceId;
	/**
	 * 
	 */
	@ApiModelProperty(name = "createBy",value = "")
	private String createBy;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(name = "createTime",value = "创建时间")
	private LocalDateTime createTime;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(name = "updateTime",value = "更新时间")
	private LocalDateTime updateTime;
	/**
	 * 
	 */
	@ApiModelProperty(name = "remoteAddr",value = "")
	private String remoteAddr;
	/**
	 * 
	 */
	@ApiModelProperty(name = "userAgent",value = "")
	private String userAgent;
	/**
	 * 
	 */
	@ApiModelProperty(name = "requestUri",value = "")
	private String requestUri;
	/**
	 * 
	 */
	@ApiModelProperty(name = "method",value = "")
	private String method;
	/**
	 * 
	 */
	@ApiModelProperty(name = "params",value = "")
	private String params;
	/**
	 * 执行时间
	 */
	@ApiModelProperty(name = "time",value = "执行时间")
	private String time;
	/**
	 * 
	 */
	@ApiModelProperty(name = "delFlag",value = "")
	private String delFlag;
	/**
	 * 
	 */
	@ApiModelProperty(name = "exception",value = "")
	private String exception;
	/**
	 * 所属租户
	 */
	@ApiModelProperty(name = "tenantId",value = "所属租户")
	private Integer tenantId;

}
